/* main menu styles */
#nav {
	z-index: 10;
	margin: 0px;
	float: left;
	width: 630px;
	padding: 0px;
}
#nav li {
	float:left;
	position:relative;
	list-style:none;
	margin-right: 2px;
	margin-left: 2px;
	z-index: 9;
	width: auto;
}
#nav a {
	font-weight:bold;
	color:#FFF;
	text-decoration:none;
	display:block;
	padding:8px 7px;
	border-radius:5px; /*some css3*/
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	text-shadow:0 2px 2px rgba(0,0,0, .7);
}

/* selected menu element */
#nav .current a, #nav li:hover > a {
	color:#000;
	border-top:1px solid #f8f8f8;
	box-shadow:0 2px 2px rgba(0,0,0, .7); /*some css3*/
	-moz-box-shadow:0 2px 2px rgba(0,0,0, .7);
	-webkit-box-shadow:0 2px 2px rgba(0,0,0, .7);
	text-shadow:0 2px 2px rgba(255,255,255, 0.7);
	background-color: #FFF;
}

/* sublevels */
#nav ul li:hover a, #nav li:hover li a {
    background:none;
    border:none;
    color:#000;
	font-weight:bold;
}
#nav ul li a:hover {
	color:#fff;
	border-radius:5px; /*some css3*/
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	text-shadow:0 2px 2px rgba(0,0,0, 0.7);
	background-color: #F60;
	font-weight:bold;
}

#nav ul li:first-child > a {
    -moz-border-radius-topleft:5px; /*some css3*/
    -moz-border-radius-topright:5px;
    -webkit-border-top-left-radius:5px;
    -webkit-border-top-right-radius:5px;
}
#nav ul li:last-child > a {
    -moz-border-radius-bottomleft:5px; /*some css3*/
    -moz-border-radius-bottomright:5px;
    -webkit-border-bottom-left-radius:5px;
    -webkit-border-bottom-right-radius:5px;
}

/* drop down */
#nav li:hover > ul {
    opacity:1;
    visibility:visible;
}
#nav ul {
	opacity:0;
	visibility:hidden;
	padding:0;
	width:150px;
	position:absolute;
	border:1px solid #7788aa;
	border-radius:5px; /*some css3*/
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	box-shadow:0 2px 2px rgba(0,0,0, .5);
	-moz-box-shadow:0 2px 2px rgba(0,0,0, .5);
	-webkit-box-shadow:0 2px 2px rgba(0,0,0, .5);
    -moz-transition:opacity .25s linear, visibility .1s linear .1s;
    -webkit-transition:opacity .25s linear, visibility .1s linear .1s;
    -o-transition:opacity .25s linear, visibility .1s linear .1s;
    transition:opacity .25s linear, visibility .1s linear .1s;
	background-color: #CCC;
	background-position: 0 0;
		font-weight:bold;
}
#nav ul li {
    float:none;
    margin:0;
}
#nav ul a {
 	font-weight:bold;
    text-shadow:0 2px 2px rgba(255,255,255, 0.7);
}
#nav ul ul {
    left: 150px;
    top:0px;
}
